Car.prototype = {
    height: 1400,
    long:4900,
    varName: 'BMW'
}

function Car(color,owner) {
    // this.height = 1400
    // this.long = 4900
    // this.carName = "BMW"
    this.color = color
    this.owner = owner
}

var car1 = new Car('pink','laisf')
var car2 = new Car('green','xqm')
 console.log(car1);
 console.log(car2.carName);